﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.TeamFoundation.Client;
using Microsoft.TeamFoundation.Common;
using Microsoft.TeamFoundation.VersionControl.Client;
using Microsoft.TeamFoundation.WorkItemTracking;
using Microsoft.TeamFoundation.WorkItemTracking.Client;
using TfsBugger.Core;

namespace TfsBugger.Buggers
{
    public class WorkItemBugger : Bugger
    {
        #region Overridden Methods
        public override bool CheckArgsLoaded()
        {
            //TODO: Fix once args class is implemented
            return false;
        }


        protected override void Init()
        {
            
        }


        protected override void Poll()
        {
            //var wiStor = (WorkItemStore)Server.GetService(typeof(WorkItemStore));
            //wiStor.MetadataChanged += new MetadataChangeEventHandler(wiStor_MetadataChanged);
        }

        void wiStor_MetadataChanged(object sender, MetadataEventArgs e)
        {
            MetadataChangeTypes types = e.MetadataChangeFlags;

        } 
        #endregion
    }
}
